<!-- TicketLinkFormat -->
<template>
  <div>
    <span style="cursor: pointer;text-decoration:underline;"
          @click="goUrl($data)">{{ $data.data[$data.data.column.field] }}</span>
  </div>
</template>
<script>
import Router from '@/components/storybook/router'

export default {
  data () {
    return {

    }
  },
  methods: {
    goUrl (e) {
      // try {
      //   let url = e.data.column.targetPath
      //   if (url.substring(0, 4) === 'http') {
      //     window.open(url, '_blank')
      //   } else {
      //     Router.push({ path: url })
      //   }
      // } catch (error) { }
      Router.push({ path: '/Bots' })
    }
  }
}
</script>
